<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>雷霆战机</title>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <div class="game-container">
      <div class="game-info">
        <div class="score">分数: <span id="score">0</span></div>
        <div class="lives">生命: <span id="lives">3</span></div>
        <div id="statusEffects" class="status-effects"></div>
      </div>
      <div id="message" class="message"></div>
      <canvas id="gameCanvas"></canvas>
      <div id="startScreen" class="screen">
        <h1>雷霆战机</h1>
        <button id="startButton">开始游戏</button>
        <p>使用方向键移动飞机，空格键发射子弹</p>
        <div class="enemy-info">
          <h3>敌机类型：</h3>
          <ul>
            <li>小型敌机：速度快，1点生命值，10分</li>
            <li>中型敌机：中等速度，2点生命值，20分</li>
            <li>大型敌机：速度慢，5点生命值，50分</li>
          </ul>
        </div>
        <div class="powerup-info">
          <h3>道具类型：</h3>
          <ul>
            <li class="weapon">武器升级：提升武器等级，最高3级</li>
            <li class="shield">护盾：临时无敌状态</li>
            <li class="life">额外生命：增加一条生命</li>
            <li class="bomb">清屏炸弹：清除所有敌机</li>
            <li class="slow">减速：降低敌机速度</li>
          </ul>
        </div>
      </div>
      <div id="gameOverScreen" class="screen">
        <h1>游戏结束</h1>
        <p>你的分数: <span id="finalScore">0</span></p>
        <button id="restartButton">重新开始</button>
      </div>
    </div>
    <script type="module" src="js/main.js"></script>
  </body>
</html>
